package com.info.protocol.netty.core;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.atomic.AtomicLong;

// 保存requestid和future的对应结果
public class RequestHolder {

    public static final AtomicLong REQUEST_ID = new AtomicLong();

    public static final Map<Long, CustomFuture> REQUEST_MAP = new ConcurrentHashMap<>();
}
